<script lang="ts" setup>
defineProps({
    data:{
        type: Array,
        default: () => [],
    },
    pagination:{
        type: Object,
        default: () => ({}),
    }
})
</script>

<template>
    <div>
        <h1>Admin Index</h1>
        <p>Welcome to the Admin index page!</p>
        <p>Current URL: {{ $page.props.ziggy.location }}</p>
        {{ data }}
        {{ pagination }}
        {{ pagination.total }}
    </div>
</template>

<style scoped>

</style>
